<?php
/**
 * Created by PhpStorm.
 * User: lxd
 * Date: 2018/7/24
 * Time: 16:43
 * Comm:
 */
require './secode.php';

$param  = [ 'count' => 30, 'start_index' => 0];
$list   = \PayPal\Api\Payment::all( $param, $apiContext );



var_dump( $list->toArray() );
